KERN_DIR = /home/chip/Project/jz2440/src/jz2440_kernel_2.6.22.6/linux-2.6.22.6

all:
	make -C $(KERN_DIR) M=`pwd` modules

clean:
	make -C $(KERN_DIR) M=`pwd` modules clean
	rm -rf modules.order

obj-m += key.o